<h3><{$smarty.const._MI_AD_TIMELINE_TITLE}></h3>
<br>
<{$smarty.const._MI_AD_TIMELINE_NUM_IS|sprintf:$app.timelines.0}><br>
<div class="tips"><{$smarty.const._MI_AD_TIMELINE_DESC}></div>
<ul class="toptab">
	<li><a href="<{$xoops_url}>/modules/admanage/admin/index.php?action_admin_admanage_timeline_edit=1"><{$smarty.const._MI_AD_TIMELINE_NEW}></a></li>
</ul>
<table width="100%" cellspacing="1" class="outer">
<tr>
	<th>ID</th>
	<th><{$smarty.const._MI_AD_AF_admtl_name}></th>
	<th><{$smarty.const._MI_AD_AF_admtl_week_s}></th>
	<th><{$smarty.const._MI_AD_AF_admtl_from_s}></th>
	<th><{$smarty.const._MI_AD_AF_admtl_adtype_s}></th>
	<th><{$smarty.const._MI_AD_TIMELINE_TARGET_AD}></th>
	<th><{$smarty.const._MI_AD_TIMELINE_STATUS}></th>
	<th><{$smarty.const._MI_AD_TIMELINE_STATUS_AD}></th>
	<th>&nbsp;</th>
</tr>
<{foreach from=$app.timelines.1 item=t}>
<tr class="<{cycle values="even,odd"}>">
	<td><{$t.admtl_id}></td>
	<td><{$t.admtl_name}></td>
	<td>
	<{if $t.admtl_week==0}><{$smarty.const._CAL_SUNDAY}> 
	<{elseif $t.admtl_week==1}><{$smarty.const._CAL_MONDAY}> 
	<{elseif $t.admtl_week==2}><{$smarty.const._CAL_TUESDAY}> 
	<{elseif $t.admtl_week==3}><{$smarty.const._CAL_WEDNESDAY}> 
	<{elseif $t.admtl_week==4}><{$smarty.const._CAL_THURSDAY}> 
	<{elseif $t.admtl_week==5}><{$smarty.const._CAL_FRIDAY}> 
	<{elseif $t.admtl_week==6}><{$smarty.const._CAL_SATURDAY}> 
	<{/if}>
	</td>
	<td><{$t.admtl_from_str}>=&gt;<{$t.admtl_to_str}></td>
	<td><{$t.admtl_adtype_str}></td>
	<td><{if $t.admtl_adid}><{$t.admtl_adname}>(<a href="./?action_admin_admanage_advertise_edit=1&amp;ad_id=<{$t.admtl_adid}>"><{$t.admtl_adid}></a>)<{/if}></td>
	<td><{if $t.admtl_status==0}><span class="bg1"><{$smarty.const._MI_AD_ADSTATUS_INVALID}></span><{else}><span class="bg3"><{$smarty.const._MI_AD_ADSTATUS_VALID}></span><{/if}></td>
	<td><{if $t.admtl_ad_is_active==0}><span class="bg1"><{$smarty.const._MI_AD_AD_SHOW_IN}></span><{else}><span class="bg3"><{$smarty.const._MI_AD_AD_SHOW_IN}></span><{/if}></td>
	<td><a href="./?action_admin_admanage_timeline_edit=1&amp;admtl_id=<{$t.admtl_id}>"><{$smarty.const._EDIT}> </a><br>
	<form action="./index.php" method="POST" name="admtl_del<{$t.admtl_id}>">
	<input type="hidden" name="admtl_id" value="<{$t.admtl_id}>">
	<input type="hidden" name="action_admin_admanage_timeline_deletedo" value="1">
	<input type="button" value="<{$smarty.const._DELETE}>" onclick="if(confirm('<{$smarty.const._MI_AD_TIMELINE_DELETE_CONF}>')){document.admtl_del<{$t.admtl_id}>.submit();}">
	</form>
	</td>
</tr>
<{/foreach}>
</table>